.global-warning {
    display: none;
    height: 40px;
    background: #293c3d;
    color: white;
    line-height: 40px;
    font-size: 14px;
    text-align: center;
    &.active {
        display: block;
    }
    &:hover {
        color: rgba(255, 255, 255, 0.6);
    }
}

// navigation.vue
.global-nav {
    position: fixed;
    top: 0;
    z-index: 999;
    width: 100%;
    height: 60px;
    background: #54d9e0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);

    .backend & {
        position: static;
        top: auto;
        z-index: auto;
    }

    .wrap {
        display: flex;
        justify-content: space-between;
    }

    .left-part {
        display: flex;
    }
    .right-part {
        display: flex;
        @media (max-width: 750px) {
            display: none;
        }
    }

    .logo-link {
        display: block;
        .icon {
            margin-top: 15px;
        }
    }

    .main-nav {
        display: flex;
        margin-left: 48px;
        @media (max-width: 1000px) {
            margin-left: 25px;
        }
        .icon {
            vertical-align: -4px;
            margin-right: 12px;
            @media (max-width: 1000px) {
                margin-right: 0;
            }
        }
    }
    .nav-link {
        position: relative;
        padding: 0 24px;
        font-size: 18px;
        color: white;
        line-height: 60px;
        &.current:after {
            content: '';
            position: absolute;
            left: 24px;
            right: 24px;
            bottom: 0;
            height: 3px;
            border-radius: 3px;
            background: #eded63;
        }
        @media (max-width: 1000px) {
            font-size: 17px;
            .text {
                display: none;
            }
            &.current:after {
                left: 10px;
                right: 10px;
            }
        }
        @media (max-width: 375px) {
            padding: 0 15px;
        }
    }

    .btn {
        margin-top: 10px;
        font-weight: bold;
        font-size: 16px;
    }

    .nav-signup {
        margin-left: 16px;
    }

    .nav-me {
        margin-left: 10px;
        .nav-avatar-img {
            width: 40px;
            height: 40px;
            margin-top: 10px;
            border-radius: 20px;
        }
    }
    .nav-search {
        position: relative;
        margin-left: 16px;
        font-size: 0;
        .icon-search-white {
            position: absolute;
            top: 22px;
            left: 14px;
        }

        .nav-search-input {
            width: 180px;
            height: 40px;
            margin-top: 10px;
            padding: 0 14px 0 40px;
            background: rgba(255, 255, 255, 0.25);
            border: none;
            border-radius: 4px;
            font-size: 16px;
            color: white;
            line-height: 18px;
        }

        .nav-search-input::-webkit-input-placeholder {
            color: white;
        }

        .nav-search-input::-moz-placeholder {
            color: white;
        }

        .nav-search-input:-moz-placeholder {
            color: white;
        }

        .nav-search-input:-ms-input-placeholder {
            color: white;
        }
    }
}
